package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账套-选项设置
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fab_account_rule_set")
@ApiModel(value="ErpAccountRuleSet对象", description="账套-选项设置")
public class ErpAccountRuleSet extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套ID")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "系统模块编码")
    @TableField("sys_module_code")
    private String sysModuleCode;

    @ApiModelProperty(value = "系统模块名称")
    @TableField("sys_module_name")
    private String sysModuleName;

    @ApiModelProperty(value = "父级名称")
    @TableField("parent_name")
    private String parentName;

    @ApiModelProperty(value = "选项编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "选项名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "值类型 ")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "当前值 ")
    @TableField("value")
    private String value;

    @ApiModelProperty(value = "组件名称")
    @TableField("component")
    private String component;

    @ApiModelProperty(value = "默认值")
    @TableField("default_value")
    private String defaultValue;

    @ApiModelProperty(value = "是否显示 ")
    @TableField("is_visible")
    private Integer isVisible;

    @ApiModelProperty(value = "是否启用")
    @TableField("is_enable")
    private Integer isEnable;

    @ApiModelProperty(value = "显示顺序")
    @TableField("showIndex")
    private Integer showIndex;

    @ApiModelProperty(value = "描述相关说明的资源文件中的key ")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;


}
